package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区域预警对象 dispatchAlarmArea
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchAlarmArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域预警编号 */
    private Long alarmAreaId;

    /** 报警区域 */
    @Excel(name = "报警区域")
    private String alarmArea;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 报警规则 */
    @Excel(name = "报警规则")
    private String alarmRule;

    /** 爆管概率 */
    @Excel(name = "爆管概率")
    private BigDecimal probabilityOfPipeBurst;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private String alarmStatus;

    /** 报警详情 */
    @Excel(name = "报警详情")
    private String alarmDetail;

    /** 处理步骤 */
    @Excel(name = "处理步骤")
    private String handlingSteps;

    /** 相关人员 */
    @Excel(name = "相关人员")
    private String relevantPersonnel;

    /** 推送方式 */
    @Excel(name = "推送方式")
    private String pushMethod;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setAlarmAreaId(Long alarmAreaId) 
    {
        this.alarmAreaId = alarmAreaId;
    }

    public Long getAlarmAreaId() 
    {
        return alarmAreaId;
    }
    public void setAlarmArea(String alarmArea) 
    {
        this.alarmArea = alarmArea;
    }

    public String getAlarmArea() 
    {
        return alarmArea;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }
    public void setAlarmRule(String alarmRule) 
    {
        this.alarmRule = alarmRule;
    }

    public String getAlarmRule() 
    {
        return alarmRule;
    }
    public void setProbabilityOfPipeBurst(BigDecimal probabilityOfPipeBurst) 
    {
        this.probabilityOfPipeBurst = probabilityOfPipeBurst;
    }

    public BigDecimal getProbabilityOfPipeBurst() 
    {
        return probabilityOfPipeBurst;
    }
    public void setAlarmStatus(String alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public String getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setAlarmDetail(String alarmDetail) 
    {
        this.alarmDetail = alarmDetail;
    }

    public String getAlarmDetail() 
    {
        return alarmDetail;
    }
    public void setHandlingSteps(String handlingSteps) 
    {
        this.handlingSteps = handlingSteps;
    }

    public String getHandlingSteps() 
    {
        return handlingSteps;
    }
    public void setRelevantPersonnel(String relevantPersonnel) 
    {
        this.relevantPersonnel = relevantPersonnel;
    }

    public String getRelevantPersonnel() 
    {
        return relevantPersonnel;
    }
    public void setPushMethod(String pushMethod) 
    {
        this.pushMethod = pushMethod;
    }

    public String getPushMethod() 
    {
        return pushMethod;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alarmAreaId", getAlarmAreaId())
            .append("alarmArea", getAlarmArea())
            .append("alarmTime", getAlarmTime())
            .append("alarmRule", getAlarmRule())
            .append("probabilityOfPipeBurst", getProbabilityOfPipeBurst())
            .append("alarmStatus", getAlarmStatus())
            .append("alarmDetail", getAlarmDetail())
            .append("handlingSteps", getHandlingSteps())
            .append("relevantPersonnel", getRelevantPersonnel())
            .append("pushMethod", getPushMethod())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
